<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="react.min.js"></script>
    <script src="react-dom.js"></script>
    <script src="browser    .min.js"></script>
</head>
<body>
<div id="example">

</div>
<script type="text/babel">
    var NotesList = React.createClass( {
        render: function () {
            return (
                    <ol>
                        {
                            React.Children.map( this.props.children, function ( child ) {
                                return <li>{child}</li>;
                            } )
                        }
                    </ol>
            );
        }
    } )

    ReactDOM.render(
            <NotesList>
                <span>Hello</span>
                <span>World</span>
            </NotesList>,
            document.body
    )


</script>
</body>
</html>